Api.WriteAxisOutputs method

Writes a value into an output of an axis.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError WriteAxisOutputs(
       int Index,
       uint Value
)
Public Function WriteAxisOutputs(
       Index As Integer,
       Value As UInteger
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Value

Type: uint

The value to write.

Return value

Type: KsError

A return code of a method.

Remarks

Used in the cyclic callback to update the digital outputs of an axis.

NOTE:  The digital output is available only if EnableAxisOutput is enabled.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace